package datatypes;

public class GuiAction {

	private GuiActionType type;
	private Edge affectedEdge ;
	private int node;
	
	public GuiAction(GuiActionType type, Edge affectedEdge){
		this.type = type;
		this.affectedEdge = affectedEdge;
	}
	
	public GuiAction (GuiActionType type, int affectedNode){
		this.type = type;
		this.node = affectedNode;
	}
	
	public GuiActionType getType (){
		return this.type;
	}
	
	public Edge getEdge(){
		return this.affectedEdge;
	}
	
	public int getHost(){
		return this.node;
	}
}
